
package com.idealighter.game.roomcard.games.mustniuniu.message;

import com.baidu.bjf.remoting.protobuf.FieldType;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ReqMsg;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ReqMessage;

import java.util.ArrayList;
import java.util.List;

import lombok.Data;

/**
 * 请求摊牌 .
 *
 */
@ReqMsg(ModuleMsgIdConstant.MustNiuNiu.SHOW_CARD)
@Data
public class ReqShowdownMsg implements ReqMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.MustNiuNiu.SHOW_CARD;
  // 3张牌的组合，不足3张或者不是最优牌按服务器最优牌处理
  @Protobuf(fieldType = FieldType.INT32, order = 2)
  private List<Integer> cards = new ArrayList<>();
}
